/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.ac.iie.di.commons.speeder.monitor.handler.impl;

import cn.ac.iie.di.commons.speeder.monitor.handler.StatHandler;
import java.util.Map;

/**
 *
 * @author zwlin
 */
public class EmptyStatHandler<T> implements StatHandler<T> {

    private static final EmptyStatHandler ins = new EmptyStatHandler();

    public static <T> EmptyStatHandler<T> getInstance() {
        return ins;
    }

    private EmptyStatHandler() {

    }

    @Override
    public void accept(Map<String, T> statMap) {
    }

    @Override
    public void accept(String key, T value) {
    }

}
